
First command:

declare @p33 int
set @p33=6
exec procUpdateContact @ContactID='79D6300F-D780-45A8-B48E-4A97ABA73F29',@Owner=NULL,@LastName=N'Contact Yet Another New Updated 14',@FirstName=N'',@MiddleName=N'',@Title=NULL,@Gender=0,@JobTitle=N'',@Profession=NULL,@Department=N'',@BusinessPhone1='',@BusinessPhone2='',@HomePhone1='',@HomePhone2='',@MobilePhone='',@CompanyMainPhone='',@OtherPhone='',@Pager='',@BusinessFax='',@HomeFax='',@OtherFax='',@EMail1='',@EMail2='',@EMail3='',@URL='',@PrimaryPhoneName='',@PrimaryFaxName='',@PrimaryEMailName='',@PrimaryAddressName='',@Memo=N'',@ContactType=0,@ContactID_ORGPK='79D6300F-D780-45A8-B48E-4A97ABA73F29',@Version=@p33 output
select @p33




Second command:

exec sp_executesql N'SELECT [ContactID], [Owner], [LastName], [FirstName], [MiddleName], [Title], [Gender], [JobTitle], [Profession], [Department], [BusinessPhone1], [BusinessPhone2], [HomePhone1], [HomePhone2], [MobilePhone], [CompanyMainPhone], [OtherPhone], [Pager], [BusinessFax], [HomeFax], [OtherFax], [EMail1], [EMail2], [EMail3], [URL], [PrimaryPhoneName], [PrimaryFaxName], [PrimaryEMailName], [PrimaryAddressName], [Memo], [ContactType], [Version] FROM [dbo].[Contacts] WHERE ((ContactID = @PARAM0));
',N'@PARAM0 uniqueidentifier',@PARAM0='79D6300F-D780-45A8-B48E-4A97ABA73F29'